package chapter_02_principle.p2;

import javax.management.relation.RoleList;
import java.util.AbstractCollection;
import java.util.AbstractList;
import java.util.ArrayList;

/**
 * @author yaochenglong
 * @date 2017/10/19
 */
public class Children2 extends Parent {

    /**
     *
     * 子类的方法参数比父类小
     *
     */
    public AbstractList<String> list(RoleList roleList){
        System.out.println("children2 invoke...");
        return new ArrayList<>();
    }
}
